LCM and hcf related question